package com.ekuaitu.kuaitustaff.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 17310 on 2018/8/6.
 */

public class ConfigBean implements Serializable {

    /**
     * msg_code : 200
     * message :
     * data : {"_id":"5b690d039ccbde0001234434","common":{"_id":"5b0e1e0413feeb9e2cf8309a","h5_url":{"callservice":"http://manual.mydadao.com/stafftest/#/callservice","setpage ":"http://manual.mydadao.com/stafftest/#/setpage","worklist":"http://manual.mydadao.com/stafftest/#/worklist"},"server_url":{"apiServer":"https://staff-api-test.mydadao.com/staff","apiServerNew":"https://api-test.mydadao.com"}},"ios":{"_id":"5b0e1e4e13feeb9e2cf8309e","errVersion":[{"message":"","title":"","version":"1.2.9"}],"feature_on_off":{},"lastetdVersion":"0.0.0","noticeVersion":[{"message":"","title":"","version":"0.0.0"}]}}
     */

    private int msg_code;
    private String message;
    private DataBean data;

    public int getMsg_code() {
        return msg_code;
    }

    public void setMsg_code(int msg_code) {
        this.msg_code = msg_code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * _id : 5b690d039ccbde0001234434
         * common : {"_id":"5b0e1e0413feeb9e2cf8309a","h5_url":{"callservice":"http://manual.mydadao.com/stafftest/#/callservice","setpage ":"http://manual.mydadao.com/stafftest/#/setpage","worklist":"http://manual.mydadao.com/stafftest/#/worklist"},"server_url":{"apiServer":"https://staff-api-test.mydadao.com/staff","apiServerNew":"https://api-test.mydadao.com"}}
         * ios : {"_id":"5b0e1e4e13feeb9e2cf8309e","errVersion":[{"message":"","title":"","version":"1.2.9"}],"feature_on_off":{},"lastetdVersion":"0.0.0","noticeVersion":[{"message":"","title":"","version":"0.0.0"}]}
         */

        private String _id;
        private CommonBean common;
        private IosBean ios;

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public CommonBean getCommon() {
            return common;
        }

        public void setCommon(CommonBean common) {
            this.common = common;
        }

        public IosBean getIos() {
            return ios;
        }

        public void setIos(IosBean ios) {
            this.ios = ios;
        }

        public static class CommonBean implements Serializable {
            /**
             * _id : 5b0e1e0413feeb9e2cf8309a
             * h5_url : {"callservice":"http://manual.mydadao.com/stafftest/#/callservice","setpage ":"http://manual.mydadao.com/stafftest/#/setpage","worklist":"http://manual.mydadao.com/stafftest/#/worklist"}
             * server_url : {"apiServer":"https://staff-api-test.mydadao.com/staff","apiServerNew":"https://api-test.mydadao.com"}
             */

            private String _id;
            private H5UrlBean h5_url;
            private ServerUrlBean server_url;
            private List<String> findCarVIP;

            public String get_id() {
                return _id;
            }

            public void set_id(String _id) {
                this._id = _id;
            }

            public H5UrlBean getH5_url() {
                return h5_url;
            }

            public void setH5_url(H5UrlBean h5_url) {
                this.h5_url = h5_url;
            }

            public ServerUrlBean getServer_url() {
                return server_url;
            }

            public void setServer_url(ServerUrlBean server_url) {
                this.server_url = server_url;
            }

            public List<String> getFindCarVIP() {
                return findCarVIP;
            }

            public void setFindCarVIP(List<String> findCarVIP) {
                this.findCarVIP = findCarVIP;
            }

            public static class H5UrlBean implements Serializable {
                /**
                 * callservice : http://manual.mydadao.com/stafftest/#/callservice
                 * setpage  : http://manual.mydadao.com/stafftest/#/setpage
                 * worklist : http://manual.mydadao.com/stafftest/#/worklist
                 */

                private String callservice;
                private String setpage;
                private String worklist;
                private String submitParkingFee;//提交停车费
                private String carBreakage;//车损

                public String getSubmitParkingFee() {
                    return submitParkingFee;
                }

                public void setSubmitParkingFee(String submitParkingFee) {
                    this.submitParkingFee = submitParkingFee;
                }

                public String getCarBreakage() {
                    return carBreakage;
                }

                public void setCarBreakage(String carBreakage) {
                    this.carBreakage = carBreakage;
                }

                public String getCallservice() {
                    return callservice;
                }

                public void setCallservice(String callservice) {
                    this.callservice = callservice;
                }

                public String getSetpage() {
                    return setpage;
                }

                public void setSetpage(String setpage) {
                    this.setpage = setpage;
                }

                public String getWorklist() {
                    return worklist;
                }

                public void setWorklist(String worklist) {
                    this.worklist = worklist;
                }
            }

            public static class ServerUrlBean implements Serializable {
                /**
                 * apiServer : https://staff-api-test.mydadao.com/staff
                 * apiServerNew : https://api-test.mydadao.com
                 */

                private String apiServer;
                private String apiServerNew;

                public String getApiServer() {
                    return apiServer;
                }

                public void setApiServer(String apiServer) {
                    this.apiServer = apiServer;
                }

                public String getApiServerNew() {
                    return apiServerNew;
                }

                public void setApiServerNew(String apiServerNew) {
                    this.apiServerNew = apiServerNew;
                }
            }
        }

        public static class IosBean implements Serializable {
            /**
             * _id : 5b0e1e4e13feeb9e2cf8309e
             * errVersion : [{"message":"","title":"","version":"1.2.9"}]
             * feature_on_off : {}
             * lastetdVersion : 0.0.0
             * noticeVersion : [{"message":"","title":"","version":"0.0.0"}]
             */

            private String _id;
            private FeatureOnOffBean feature_on_off;
            private String lastetdVersion;
            private List<ErrVersionBean> errVersion;
            private List<NoticeVersionBean> noticeVersion;

            public String get_id() {
                return _id;
            }

            public void set_id(String _id) {
                this._id = _id;
            }

            public FeatureOnOffBean getFeature_on_off() {
                return feature_on_off;
            }

            public void setFeature_on_off(FeatureOnOffBean feature_on_off) {
                this.feature_on_off = feature_on_off;
            }

            public String getLastetdVersion() {
                return lastetdVersion;
            }

            public void setLastetdVersion(String lastetdVersion) {
                this.lastetdVersion = lastetdVersion;
            }

            public List<ErrVersionBean> getErrVersion() {
                return errVersion;
            }

            public void setErrVersion(List<ErrVersionBean> errVersion) {
                this.errVersion = errVersion;
            }

            public List<NoticeVersionBean> getNoticeVersion() {
                return noticeVersion;
            }

            public void setNoticeVersion(List<NoticeVersionBean> noticeVersion) {
                this.noticeVersion = noticeVersion;
            }

            public static class FeatureOnOffBean implements Serializable {
            }

            public static class ErrVersionBean implements Serializable {
                /**
                 * message :
                 * title :
                 * version : 1.2.9
                 */

                private String message;
                private String title;
                private String version;

                public String getMessage() {
                    return message;
                }

                public void setMessage(String message) {
                    this.message = message;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getVersion() {
                    return version;
                }

                public void setVersion(String version) {
                    this.version = version;
                }
            }

            public static class NoticeVersionBean implements Serializable {
                /**
                 * message :
                 * title :
                 * version : 0.0.0
                 */

                private String message;
                private String title;
                private String version;

                public String getMessage() {
                    return message;
                }

                public void setMessage(String message) {
                    this.message = message;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getVersion() {
                    return version;
                }

                public void setVersion(String version) {
                    this.version = version;
                }
            }
        }
    }
}
